<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../js/vue.js"></script>
</head>

<body>
    <div id="app">
        <mine></mine>
        <list></list>
        <about></about>
    </div>
</body>
<template id="mine">
    <div>
        个人
    </div>
</template>
<template id="list">
    <div>
        列表
    </div>
</template>
<template id="about">
    <div>
        关于
    </div>
</template>
<script>
    new Vue({
        el: "#app",
        components: {
            "mine": {
                template: "#mine",
            },
            "list": {
                template: "#list"
            },
            "about": {
                template: "#about"
            }
        }
    })
</script>

</html>